﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.Common.ExchangeData
{
    public class AjaxExchange<T>
    {
        /// <summary>
        /// 成功标志
        /// </summary>
        public virtual bool successed { get; set; }
        /// <summary>
        /// 错误代码
        /// </summary>
        public virtual int errcode { get; set; }
        /// <summary>
        /// 异常信息
        /// </summary>
        public virtual Exception e { get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public virtual String message { get; set; }
        /// <summary>
        /// 消息体
        /// </summary>
        public virtual T data { get; set; }
    }
}
